detectClash (
testAtoms,
interTest=True,
clashThreshold=0.0,
hbondAllowance=0.0,
assumedMaxVdw=2.1,
bondSeparation=1,
intraRes=False,
)
Detect steric clashes
testAtoms should be a set of atoms.
if interTest is True then non-bonded clashes between atoms in
testAtoms and non-testAtoms atoms will be found. Otherwise
non-bonded clashes within testAtoms atoms will be found. The
"clash value" is the sum of the VDW radii minus the distance,
keeping only the maximal clash (which must exceed clashThreshold ).
hbondAllowance is how much the clash value is reduced if one
atom is a donor and the other an acceptor.
Atom pairs are eliminated from consideration if they are less than
or equal to bondSeparation bonds apart.
Intra-residue clashes are ignored unless intraRes is True.
Returns a dictionary keyed on atoms, with values that are
dictionaries keyed on clashing atom with value being the clash value.
Exceptions
|
|
UserError( "All atoms are in test set: no others" " available to test against" )
|
|